<template>
  <div class="container">
    Pinia
    <div>{{ store.count }}</div>
    <div><el-button @click="jia">Pinia+</el-button></div>
    
</div>
</template>

<script setup lang="ts">
import { useCounterStore } from './../store/counter.ts'
// access the `store` variable anywhere in the component ✨
const store = useCounterStore()

const jia = ()=>{
  store.increment()
}


</script>

<style scoped lang="scss">

</style>
